﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ZHDJ.AppInterface.Models
{
    public class PartyArticle
    {
        #region 属性

        public string ID { get; set; }

        /// <summary>
        /// 文章标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 文章副标题
        /// </summary>
        public string Subhead { get; set; }

        /// <summary>
        /// 文章标签
        /// </summary>
        public string ArticlesLable { get; set; }

        /// <summary>
        /// 文章内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 文章简介
        /// </summary>
        public string Summary { get; set; }

        /// <summary>
        /// 所属组织
        /// </summary>
        public string BranchID { get; set; }

        /// <summary>
        /// 文章所属模块
        /// </summary>
        public string Module { get; set; }

        /// <summary>
        /// 文章类型
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 来源Id（以后用于推送）
        /// </summary>
        public string SourceId { get; set; }

        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }

        /// <summary>
        /// 原链接
        /// </summary>
        public string AuthorUrl { get; set; }

        /// <summary>
        /// 1 草稿  4发布 
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 1审核中 2驳回  4审核通过
        /// </summary>
        public int Aduits { get; set; }

        /// <summary>
        /// （主）图片
        /// </summary>
        public string ImageID { get; set; }

        /// <summary>
        /// 0、无；1、置顶；2、固顶；3、置顶+固顶；
        /// </summary>
        public int Flags { get; set; }

        /// <summary>
        /// 活动开始时间
        /// </summary>
        public DateTime ActivityBeginTime { get; set; }

        /// <summary>
        /// 活动结束时间
        /// </summary>
        public DateTime ActivityEndTime { get; set; }

        /// <summary>
        /// 浏览数
        /// </summary>
        public int Views { get; set; }

        public DateTime CreateTime { get; set; }

        public string ImageUrl { get; set; }

        public virtual ICollection<PartyArticlesFile> PartyArticlesFiles { get; set; }
        public DateTime ModifyTime { get; set; }
        public string CreateBy { get; internal set; }
        public string ModifyBy { get; internal set; }
        #endregion
    }
}